﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XQ.RequestOfficeSupplies.DAL;
using XQ.RequestOfficeSupplies.DAL.DAL;

namespace XQ.RequestOfficeSupplies.BLL.Sys
{
   public class Sys_DepartmentsBll
    {

        //获取Department下拉框
        public List<Sys_Departments> GetDepartment()
        {
            Sys_DepartmentsDal dal = new Sys_DepartmentsDal();
            return dal.GetDepartment();
        }
        //获取Department下拉框中的值
        public List<Sys_Departments> GetDepartmentId(int InfoID)
        {
            Sys_DepartmentsDal dal = new Sys_DepartmentsDal();
            return dal.GetDepartmentId(InfoID);
        }

        //获取片区下拉框
        public List<Sys_Departments> GetPianqu()
        {
            Sys_DepartmentsDal dal = new Sys_DepartmentsDal();
            return dal.GetPianqu();
        }
        //获取片区下拉框中的值
        public List<Sys_Departments> GetPianquId(int InfoID)
        {
            Sys_DepartmentsDal dal = new Sys_DepartmentsDal();
            return dal.GetPianquId(InfoID);
        }
    }
}
